<header>
	<div id='back' ui-sref="/home"></div>
	<div id='title'>购物车</div>
	<div id='dian'></div>
</header>
<div ng-controller="shoppingController" class="cart" ng-show="cartData.length">
	<p class="coord">鲜蜂侠需要你的精确坐标</p>
	<div class="send">
		<p class="send-top">
			<span></span>
			闪送超市
		</p>
		<p class="send-bottom">
			从0元起送，到22点之前消费够500元，送一千元大礼包
		</p>
	</div>
	<!-- 收货时间 -->
	<div>
		<p class="hour">收货时间<span>一小时送达</span><a href="#">可预定 ></a></p>
	</div>
	<!-- 收货备注 -->
	<div>
		<p class="hour">收货备注<input type="text" placeholder="可输入100字以内的特殊要求内容"></p>
	</div>
	<!-- 购物篮 -->
	<div class="goods" ng-repeat="data in cartData" id="gw">
		<div class="goods-img1">
			<input type="checkbox" ng-checked="selectAll"  ng-model="data.shopBuy">
		</div>
		<div class="goods-img2">
			<img ng-src="{{data.img}}">
		</div>
		<div class="goods-div1">
			<p>{{data.name}}</p>
			<p>{{data.price | currency:"￥"}}</p>
		</div>
		<div class="goods-div2">
			<p><span ng-click="remove(data)">-</span><a href="">{{data.count}}</a><span ng-click="addcart()">+</span></p>
		</div>
	</div>
	<!-- 付款 -->
	<div class="money">
		<div class="moner-img">
			<p><input type="checkbox" ng-click="allRight(selectAll)" ng-model="selectAll" ng-checked="allChoose">全选</p>
		</div>
		<div class="moner-prices">
			<p>共:<span>{{total() | currency:"￥"}}</span></p>
		</div>
		<div class="ensure">
			<p ng-class="buycolor()">选好了</p>
		</div>
	</div>	
</div>
<div class="kong" ng-hide="cartData.length">
	<img src="html/shoppingcar/img/zb.png" alt="" />
	<p>亲，购物车空空的耶~</p>
	<button ui-sref="/home">去逛逛</button>
</div>